<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Os1: g2o::RobustKernelFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Os1
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">OrbSlam2 documentado y modificado</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,'Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classg2o_1_1_robust_kernel_factory.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="classg2o_1_1_robust_kernel_factory-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">g2o::RobustKernelFactory Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>create robust kernels based on their human readable name  
 <a href="classg2o_1_1_robust_kernel_factory.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="robust__kernel__factory_8h_source.html">robust_kernel_factory.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for g2o::RobustKernelFactory:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classg2o_1_1_robust_kernel_factory__coll__graph.svg" width="304" height="38"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a031a4fdb890d6191c0bff8aedfb078c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classg2o_1_1_robust_kernel.html">RobustKernel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#a031a4fdb890d6191c0bff8aedfb078c6">construct</a> (const std::string &amp;tag) const</td></tr>
<tr class="memdesc:a031a4fdb890d6191c0bff8aedfb078c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">construct a robust kernel based on its tag  <a href="#a031a4fdb890d6191c0bff8aedfb078c6">More...</a><br /></td></tr>
<tr class="separator:a031a4fdb890d6191c0bff8aedfb078c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3679a51bd829f6d47e8312d339339a79"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classg2o_1_1_abstract_robust_kernel_creator.html">AbstractRobustKernelCreator</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#a3679a51bd829f6d47e8312d339339a79">creator</a> (const std::string &amp;tag) const</td></tr>
<tr class="memdesc:a3679a51bd829f6d47e8312d339339a79"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the creator for a specific tag  <a href="#a3679a51bd829f6d47e8312d339339a79">More...</a><br /></td></tr>
<tr class="separator:a3679a51bd829f6d47e8312d339339a79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a078e96a0ca100165d18b146f07813765"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#a078e96a0ca100165d18b146f07813765">fillKnownKernels</a> (std::vector&lt; std::string &gt; &amp;types) const</td></tr>
<tr class="memdesc:a078e96a0ca100165d18b146f07813765"><td class="mdescLeft">&#160;</td><td class="mdescRight">get a list of all known robust kernels  <a href="#a078e96a0ca100165d18b146f07813765">More...</a><br /></td></tr>
<tr class="separator:a078e96a0ca100165d18b146f07813765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71de3f228b58ae4a2dd965cc2cd8ff95"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#a71de3f228b58ae4a2dd965cc2cd8ff95">registerRobustKernel</a> (const std::string &amp;tag, <a class="el" href="classg2o_1_1_abstract_robust_kernel_creator.html">AbstractRobustKernelCreator</a> *c)</td></tr>
<tr class="memdesc:a71de3f228b58ae4a2dd965cc2cd8ff95"><td class="mdescLeft">&#160;</td><td class="mdescRight">register a tag for a specific creator  <a href="#a71de3f228b58ae4a2dd965cc2cd8ff95">More...</a><br /></td></tr>
<tr class="separator:a71de3f228b58ae4a2dd965cc2cd8ff95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3b0dac653627b5f87c68d4180b87475"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#af3b0dac653627b5f87c68d4180b87475">unregisterType</a> (const std::string &amp;tag)</td></tr>
<tr class="memdesc:af3b0dac653627b5f87c68d4180b87475"><td class="mdescLeft">&#160;</td><td class="mdescRight">unregister a tag for a specific creator  <a href="#af3b0dac653627b5f87c68d4180b87475">More...</a><br /></td></tr>
<tr class="separator:af3b0dac653627b5f87c68d4180b87475"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a6c96f77eb4a14e5e8f5b46eb734c0393"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#a6c96f77eb4a14e5e8f5b46eb734c0393">destroy</a> ()</td></tr>
<tr class="memdesc:a6c96f77eb4a14e5e8f5b46eb734c0393"><td class="mdescLeft">&#160;</td><td class="mdescRight">free the instance  <a href="#a6c96f77eb4a14e5e8f5b46eb734c0393">More...</a><br /></td></tr>
<tr class="separator:a6c96f77eb4a14e5e8f5b46eb734c0393"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cc4361620f8d7269ad9774d3aba2fc0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classg2o_1_1_robust_kernel_factory.html">RobustKernelFactory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#a9cc4361620f8d7269ad9774d3aba2fc0">instance</a> ()</td></tr>
<tr class="memdesc:a9cc4361620f8d7269ad9774d3aba2fc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the instance  <a href="#a9cc4361620f8d7269ad9774d3aba2fc0">More...</a><br /></td></tr>
<tr class="separator:a9cc4361620f8d7269ad9774d3aba2fc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:aa143765542cbf4738e2137d61517b218"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; std::string, <a class="el" href="classg2o_1_1_abstract_robust_kernel_creator.html">AbstractRobustKernelCreator</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#aa143765542cbf4738e2137d61517b218">CreatorMap</a></td></tr>
<tr class="separator:aa143765542cbf4738e2137d61517b218"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:af1df5179d6823881c9c3531640029eae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#af1df5179d6823881c9c3531640029eae">RobustKernelFactory</a> ()</td></tr>
<tr class="separator:af1df5179d6823881c9c3531640029eae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b644b5cbf7f9bec42b8c168e8416011"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#a4b644b5cbf7f9bec42b8c168e8416011">~RobustKernelFactory</a> ()</td></tr>
<tr class="separator:a4b644b5cbf7f9bec42b8c168e8416011"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:af5f3cea409d3f18baa40da898d21424b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#aa143765542cbf4738e2137d61517b218">CreatorMap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#af5f3cea409d3f18baa40da898d21424b">_creator</a></td></tr>
<tr class="memdesc:af5f3cea409d3f18baa40da898d21424b"><td class="mdescLeft">&#160;</td><td class="mdescRight">look-up map for the existing creators  <a href="#af5f3cea409d3f18baa40da898d21424b">More...</a><br /></td></tr>
<tr class="separator:af5f3cea409d3f18baa40da898d21424b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:a598761493f11f50bee72b4799fab050e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classg2o_1_1_robust_kernel_factory.html">RobustKernelFactory</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#a598761493f11f50bee72b4799fab050e">factoryInstance</a> = 0</td></tr>
<tr class="separator:a598761493f11f50bee72b4799fab050e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>create robust kernels based on their human readable name </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="aa143765542cbf4738e2137d61517b218"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;std::string, <a class="el" href="classg2o_1_1_abstract_robust_kernel_creator.html">AbstractRobustKernelCreator</a>*&gt; <a class="el" href="classg2o_1_1_robust_kernel_factory.html#aa143765542cbf4738e2137d61517b218">g2o::RobustKernelFactory::CreatorMap</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af1df5179d6823881c9c3531640029eae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">g2o::RobustKernelFactory::RobustKernelFactory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4b644b5cbf7f9bec42b8c168e8416011"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">g2o::RobustKernelFactory::~RobustKernelFactory </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a031a4fdb890d6191c0bff8aedfb078c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_robust_kernel.html">RobustKernel</a> * g2o::RobustKernelFactory::construct </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>tag</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>construct a robust kernel based on its tag </p>

</div>
</div>
<a id="a3679a51bd829f6d47e8312d339339a79"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_abstract_robust_kernel_creator.html">AbstractRobustKernelCreator</a> * g2o::RobustKernelFactory::creator </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>tag</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>return the creator for a specific tag </p>

</div>
</div>
<a id="a6c96f77eb4a14e5e8f5b46eb734c0393"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::RobustKernelFactory::destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>free the instance </p>

</div>
</div>
<a id="a078e96a0ca100165d18b146f07813765"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::RobustKernelFactory::fillKnownKernels </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; std::string &gt; &amp;&#160;</td>
          <td class="paramname"><em>types</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get a list of all known robust kernels </p>

</div>
</div>
<a id="a9cc4361620f8d7269ad9774d3aba2fc0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_robust_kernel_factory.html">RobustKernelFactory</a> * g2o::RobustKernelFactory::instance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the instance </p>

</div>
</div>
<a id="a71de3f228b58ae4a2dd965cc2cd8ff95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::RobustKernelFactory::registerRobustKernel </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classg2o_1_1_abstract_robust_kernel_creator.html">AbstractRobustKernelCreator</a> *&#160;</td>
          <td class="paramname"><em>c</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>register a tag for a specific creator </p>

</div>
</div>
<a id="af3b0dac653627b5f87c68d4180b87475"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void g2o::RobustKernelFactory::unregisterType </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>tag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>unregister a tag for a specific creator </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="af5f3cea409d3f18baa40da898d21424b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_robust_kernel_factory.html#aa143765542cbf4738e2137d61517b218">CreatorMap</a> g2o::RobustKernelFactory::_creator</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>look-up map for the existing creators </p>

</div>
</div>
<a id="a598761493f11f50bee72b4799fab050e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classg2o_1_1_robust_kernel_factory.html">RobustKernelFactory</a> * g2o::RobustKernelFactory::factoryInstance = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/core/<a class="el" href="robust__kernel__factory_8h_source.html">robust_kernel_factory.h</a></li>
<li>/home/alejandro/Desarrollo eclipse/os1/Thirdparty/g2o/g2o/core/<a class="el" href="robust__kernel__factory_8cpp.html">robust_kernel_factory.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespaceg2o.html">g2o</a></li><li class="navelem"><a class="el" href="classg2o_1_1_robust_kernel_factory.html">RobustKernelFactory</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
